/*
* @Author: Administrator
* @Date:   2021-08-19 22:18:52
* @Last Modified by:   zhenghao01
* @Last Modified time: 2021-08-20 14:59:36
*/
const path = require('path')
const webpack = require('webpack')

module.exports={
	mode:'production',
	entry:{
		jquery:'jquery',
		underscore:'underscore'
	},
	output:{
		filename:'[name].js',
		path:path.resolve(__dirname,'dll'),
		library:'[name]'
	},
	plugins:[
		new webpack.DllPlugin({
			name:'[name]',
			path:path.resolve(__dirname,'dll/manifest.json')
		})
	]
}